package com.newsmanagement.mapper;

import com.newsmanagement.domain.pojo.SlauBatch;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author adim
* @description 针对表【slau_batch(屠宰企业产品批号信息表)】的数据库操作Mapper
* @createDate 2025-10-11 15:17:30
* @Entity com.newsmanagement.domain.pojo.SlauBatch
*/
public interface SlauBatchMapper extends BaseMapper<SlauBatch> {
    @Select("SELECT * FROM slau_batch WHERE slau_id = #{slauId}")
    List<SlauBatch> selectBySlauId(Integer slauId);
}



